package com.linko.intelligent.sys.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.linko.intelligent.sys.pojo.dto.RoleDto;
import com.linko.intelligent.sys.pojo.po.Role;
import com.linko.intelligent.sys.pojo.query.RoleQuery;

import java.util.List;

/**
 * @Author yuan
 * @create 2024/3/15 11:42
 */
public interface RoleService extends IService<Role> {

    public Long save(RoleDto dto);

    public Boolean delete(Long id);

    public Boolean update(Long id, RoleDto dto);

    public Role getDetail(Long id);

    public List<Role> queryList(RoleQuery query);

    public PageInfo<Role> queryPage(RoleQuery query);


}
